package lab02.Test15;

/**
 * Created by lady on 2017/10/19.
 */
public class Test {
    public static void main(String[] args) {
        //行为
        Graduate A=new Graduate();
        A.name="ZhangSan";
        A.pay=4000;
        A.fee=1000;
     if(A.income()<2000){
         System.out.println("You  need a loan!");
     }
     else{
         System.out.println("You income is enough！");
     }
    }

}
